![]() ![]() |
Q: I'm comparing an A: Interface Builder is on the other side of the Java Bridge that translates between Objective-C and your Java code, and thus the actions it archives in the nib are saved as Objective-C selectors. At runtime, the Objective-C selectors have names that end in ":" while the Java selectors don't, and thus two selectors that appear to point to the same code fail an equality test against their names. The solution is to check for both flavors of selector (like the following example comparing two actions) or strip off the colons yourself:
[Aug 31 2001] |
Developer Documentation | Technical Notes | Development Kits | Sample Code |